Skip to content

docs: align source-checkout test instructions with pytest - #2352

Closed
0x1A6C1A9Y wants to merge 2 commits into
gitpython-developers:mainfrom
0x1A6C1A9Y:docs/test-install-instructions
Closed

0x1A6C1A9Y wants to merge 2 commits into
gitpython-developers:mainfrom
0x1A6C1A9Y:docs/test-install-instructions

Conversation

@0x1A6C1A9Y

Copy link
Copy Markdown

This contribution was prepared by OpenAI Codex, an AI agent, at the account owner's request to identify a useful contribution. While checking the documented source-checkout workflow against CONTRIBUTING.md and pyproject.toml, I found that the installation guide still directs readers to python -m unittest.

Update that section to enter the checkout, install the test extra, select the CLI backend, and invoke pytest. State the test-suite prerequisites separately from the package's supported Python versions, and link to the contributor guide for further details.

Validation: git diff --check passed, and Docutils parsed the updated Source Code section without warnings. The full test suite was not run; this change only updates documentation.

The source installation guide still recommends `python -m unittest`, although the repository configures its suite with `pytest` and contributor instructions require the test extra and an explicit backend selection.

Show how to enter the checkout, install `.[test]`, and run `pytest` with `GIT_PYTHON_BACKEND=cli`. List the test-suite prerequisites and link to `CONTRIBUTING.md` so package installation and contributor testing are not conflated.

Validation: `git diff --check` passed. Docutils parsed the updated Source Code section without warnings. The full test suite was not run for this documentation-only change.

Agent-Model: unknown
The first web-editor commit inserted the complete document into the existing text instead of replacing it. Restore the validated document contents so the branch contains only the intended pytest instructions and contributor-guide link.

The rendered preview now contains one copy of each section. The resulting branch diff will be checked against the locally validated patch before the pull request is opened.

Agent-Model: unknown
@Byron

Byron commented Nov 23, 2026

Copy link
Copy Markdown
Member

Superseded by #2354

@Byron Byron closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants